package com.iterator.mapper.wechat.tcy;

import com.iterator.bean.wechat.tcy.pojo.MallSystem;
import com.iterator.bean.wechat.tcy.pojo.MallSystemExample;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @author tean_cy
 * @date 2021/1/14 16:27
 */
public interface MallSystemMapper {
    long countByExample(MallSystemExample example);

    int deleteByExample(MallSystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallSystem record);

    int insertSelective(MallSystem record);

    List<MallSystem> selectByExample(MallSystemExample example);

    MallSystem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallSystem record, @Param("example") MallSystemExample example);

    int updateByExample(@Param("record") MallSystem record, @Param("example") MallSystemExample example);

    int updateByPrimaryKeySelective(MallSystem record);

    int updateByPrimaryKey(MallSystem record);

    BigDecimal selectMonetary(@Param("name1") String name1);


    BigDecimal selectFreightPrice(@Param("name2") String name2);
}